<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>折线图</title>
    <link href="dist/css/pizza.css" media="screen, projector, print" rel="stylesheet" type="text/css" />
    <style>
        ul[data-pie-id] li:nth-child(1) {
            color: red;
        }

        ul[data-pie-id] li:nth-child(2) {
            color: red;
        }

        ul[data-pie-id] li:nth-child(3) {
            color: yellow;
        }
    </style>
</head>
<body>

<ul data-pie-id="my-cool-line-graph">
    <li data-x="36" data-y="1">Pepperoni</li>
    <li data-x="14" data-y="2">Sausage</li>
    <li data-x="8" data-y="3">Cheese</li>
    <li data-x="11" data-y="4">Mushrooms</li>
    <li data-x="7" data-y="5">Chicken</li>
    <li data-x="24" data-y="6">Other</li>
</ul>
<div id="my-cool-line-graph"></div>

<script src="js/jquery-1.11.0.min.js"></script>
<script src="dist/js/vendor/snap.svg-min.js"></script>
<script src="dist/js/pizza.min.js"></script>
<script>
    $(window).load(function() {
        Pizza.init();
        $(document).foundation();
    });
</script>
</body>
</html>